HasComponent(int, Type)

Method

Namespace: Ignis

Declared in: Ignis.IEntityManager


Checks if the specified entity has the specified component.

Syntax

public bool HasComponent(
	int entityId,
	Type type
)

Parameters

entityId

Entity ID

type

Component type

Returns

True if it has this component, false otherwise


Back to index